-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arm backend: qdq folding support for remaining operators #7340
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7340
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit cdd6c91 with merge base 5190106 (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Edge operators that are lowered to TOSA TABLEs are convereted to a custom edge IR table-op. Signed-off-by: Oscar Andersson <oscar.andersson@arm.com> Change-Id: I147008c30b9b46c7b8ae1a1c15bc540fea614a69
This is a special case where node.args can be lists with many incoming dq-nodes. Signed-off-by: Oscar Andersson <oscar.andersson@arm.com> Change-Id: Icf511a8bdeaaffb597b18455ab7f1fbd947ce3ca
Rebase pls |
Add support for q/dq folding of more operators such as hardtanh, maxpool2d, mul, relu, select, sub, to_copy. Signed-off-by: Oscar Andersson <oscar.andersson@arm.com> Change-Id: Ifdabda4c927dade41c000859054696844c546f7b
sum is retraced to an int64 dtype of operator after q/dq folding. This patch adds a pass to manually force the dtype to be int8. Signed-off-by: Oscar Andersson <oscar.andersson@arm.com> Change-Id: Ifa737a398c5a878d52cd76a2392499905da085ce
Add support for q/dq folding for the remaining supported ops in Arm backend. Signed-off-by: Oscar Andersson <oscar.andersson@arm.com> Change-Id: I9012b4a501ce018c9771c729706be3b031a5c7ae
Signed-off-by: Oscar Andersson <oscar.andersson@arm.com> Change-Id: Ibb17add461dc79e022a7f4accde29f9f9d61b16d
Address issues from pyre and add similar # pyre-ignores as in pytorch#7362. Signed-off-by: Oscar Andersson <oscar.andersson@arm.com> Change-Id: I6feaa611dcd539b3b0d21a6a7dd696ef7db691ef
93e7137
to
cdd6c91
Compare
@digantdesai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Some type checker issues (so far, still running)
|
Summary
Based on work in #7330, add support for qdq-folding of remaining operators.